import request from './request';

export function getRoomTypes() {
  return request.get('/room-types');
}

export function addRoomType(data) {
  return request.post('/room-types', data);
}

export function updateRoomType(data) {
  return request.put('/room-types', data);
}

export function deleteRoomType(id) {
  return request.delete(`/room-types/${id}`);
} 